]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
authList: Expand the list items to use all the available space
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Sat, 22 Feb 2025 04:12:28 +0000 (05:12 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 26 Feb 2025 16:11:58 +0000 (16:11 +0000)
So they look as expected and as any other item in the auth prompt

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3647>

js/gdm/authList.js
js/gdm/authPrompt.js

index 59047dfa701f7c5ebc0174b06f19d08a21a272dd..6575ca4c01f71b86c8e4847162d8373c9698ebb9 100644 (file)
@@ -31,7 +31,7 @@ const AuthListItem = GObject.registerClass({
             text,
             style_class: 'login-dialog-auth-list-label',
             y_align: Clutter.ActorAlign.CENTER,
-            x_expand: false,
+            x_expand: true,
         });
 
         super._init({
index 9b7ea02f1f9ab91d8c01901e9fc0cebe938da335..aa2d6f1bdd5d501779bda4167b050610c21c4631 100644 (file)
@@ -169,6 +169,8 @@ export const AuthPrompt = GObject.registerClass({
         this._authList = new AuthList.AuthList();
         this._authList.set({
             visible: false,
+            x_align: Clutter.ActorAlign.FILL,
+            x_expand: true,
         });
         this._authList.connect('activate', (list, key) => {
             this._authList.reactive = false;